package com.studio5704website.infrastructure.mapper;

import com.studio5704website.application.data.UserData;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;


/**
 * @author 高威
 * UserData
 */
@Mapper
@Service
public interface UserQueryMapper {
    UserData findByUsername(@Param("username") String username);

    UserData findById(@Param("id") String id);
}
